//
//  BCEyesButton.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/20.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import "BCEyesButton.h"

@implementation BCEyesButton

- (instancetype)init
{
    self = [super init];
    if (self) {
        
    }
    return self;
}



- (void)setOpen:(BOOL)open {
    _open = open;
    //
    if (open) {
        [self setImage:LOAD_IMAGE(@"eyes_open") forState:UIControlStateNormal];
    }else {
        [self setImage:LOAD_IMAGE(@"eyes_close") forState:UIControlStateNormal];
    }
}

@end
